﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Domain
{
    public class Customer
    {
        public int CustomerId { get; set; }
        [StringLength(20)]
        [Required]
        public string DisplayName { get; set; }
        [StringLength(100)]
        public string LegalName { get; set; }
        [StringLength(100)]
        public string BankName { get; set; }
        [StringLength(50)]
        public string AccountNumber { get; set; }
        [StringLength(50)]
        public string DirectorName { get; set; }
        [StringLength(8)]
        public string TIN { get; set; }
        [StringLength(200)]
        public string LegalAddress { get; set; }
        [StringLength(200)]
        public string BusinessAddress { get; set; }
        [StringLength(50)]
        public string ContactName { get; set; }
        [StringLength(20)]
        public string ContactPhone { get; set; }
        public DateTime? CreateDate { get; set; }
        public bool IsLegal { get; set; }

    }
}
